package org.devgframwork.datasync.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("t_es_config")
public class ElasticSearchConfig {

  @TableId("ES_CONFIG_ID")
  private Long esConfigId;

  @TableField("KEY_NAME")
  private String keyName;

  @TableField("HOST_NAME")
  private String hostname;

  @TableField("PORT")
  private String port;

  @TableField("SCHEME_NAME")
  private String schemeName;

  @TableField("USER_NAME")
  private String userName;

  @TableField("USER_PASS")
  private String userPass;

  @TableField("CONNECTION_TIMEOUT")
  private Integer connectionTimeOut;

  @TableField("SOCKET_TIMEOUT")
  private Integer socketTimeOut;

  @TableField("CONNECTION_REQUEST_TIMEOUT")
  private Integer connectionRequestTimeOut;

  @TableField("MAX_CONNECT_TOTAL")
  private Integer maxConnectTotal;

  @TableField("MAX_CONNECT_PERROUTE")
  private Integer maxConnectPerRoute;

  @TableField("ES_VERSION")
  private String esVersion;

  @TableField("IS_DELETE")
  private Integer isDelete;
}
